#include <cellcsp.h>
#include <string>
#include <stdio.h>
#include <csp_debug.h>
#include <vector>

int main(){


	char *spe_parallel = "./tasks/spe_parallel_task";
	char *printf_yield_task = "./tasks/printf_yield_task";
	
	CSPConfig conf;

	conf.add_csp_program(spe_parallel ,"spe_parallel_task");
	conf.add_csp_program(printf_yield_task ,"printf_yield_task");

	CellCSP_start(conf);

	printf("Running yield_test with file %s\n", spe_parallel);                  

	CSPProcess slow_task("spe_parallel_task");

	slow_task.Run();

	CellCSP_end();

	printf("spe_parallel_task terminated\n");
	
	return 0;
}
